package basic.scopeOfModifier;

/**
 * @Description: TODO 子类
 * @Author: wzj
 * @Date: 2020/11/19 18:46
 */
public class SonClass extends ParentClass {

    public void print(){
        System.out.println("子类");
//        System.out.println(intPublic+" "+intProtected+" "+intDefault+" "+intPrivate);//intPrivate会报错
        System.out.println(intPublic+" "+intProtected+" "+intDefault);
    }
}
